package metalink.student;
import java.util.ArrayList;


import model.student.StudentCourseMo;

import vo.DocumentListVo;
import vo.mixed.CourseListVo;


import com.opensymphony.xwork2.ActionSupport;

public class GetStudentCourseDetails extends ActionSupport{
	ArrayList<CourseListVo> list = new ArrayList<CourseListVo>(); 
	ArrayList<DocumentListVo>doclist= new ArrayList<DocumentListVo>();
	ArrayList<DocumentListVo>courselist=new ArrayList<DocumentListVo>();
	int course_id;
	
	public ArrayList<DocumentListVo> getCourselist() {
		return courselist;
	}
	public void setCourselist(ArrayList<DocumentListVo> courselist) {
		this.courselist = courselist;
	}
	public ArrayList<CourseListVo> getList() {
		return list;
	}
	public void setList(ArrayList<CourseListVo> list) {
		this.list = list;
	}

	public ArrayList<DocumentListVo> getDoclist() {
		return doclist;
	}
	public void setDoclist(ArrayList<DocumentListVo> doclist) {
		this.doclist = doclist;
	}
	public int getCourse_id() {
		return course_id;
	}
	public void setCourse_id(int course_id) {
		this.course_id = course_id;
	}
	public String execute(){
		StudentCourseMo mo=new StudentCourseMo();
		list=mo.getCourseDetails();
		doclist= mo.getCourseDocumentList(course_id);
		courselist=mo.getCourseDetails(course_id);
		return SUCCESS;
	}

}
